package com.yumeko.mapper;

/**
 * @program: myTomcat_zhenghao
 * @description: 保存server信息
 * @author: Zheng Hao
 * @create: 2020-02-15 14:53
 */
public class Server {

    private int port;//端口号
    private String local;//ip
    private String appBase;//部署项目的的绝对路径

    public Server() {
    }

    public Server(int port, String local, String appBase) {
        this.port = port;
        this.local = local;
        this.appBase = appBase;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }


    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    @Override
    public String toString() {
        return "Server{" +
                "port=" + port +
                ", local='" + local + '\'' +
                ", appBase='" + appBase + '\'' +
                '}';
    }
}
